import requestInstance from '/utils/http.js'

/**
 * @description 登录功能
 * @@param {String} 登录码  
 * @returns {Promise}
 */
export const reqLogin = (code)=>{
	return requestInstance.get(`/weixin/wxLogin/${code}`)
}
/**
 * @description 获取用户信息
 */
export const reqUserInfo = ()=>{
	return requestInstance.get('/weixin/getuserInfo')
}